
public class Homework03 {

	public static void main(String[] args) {
	
	int num1 = (int)"18";//错误 Integer.parseInt("18");
	int num2 = 18.0;//错误
	double num3 = 3d;//正确
	double num4 = 8;//正确
	int i = 48;char ch = i + 1;//错误
	byte b = 19;short s = b +2;//错误
	
	}
}